package com.guiji.text2video.fastvideo.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.guiji.text2video.common.core.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.guiji.text2video.common.core.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 text2video_job
 * 
 * @author scl
 * @date 2021-05-27
 */
public class Text2videoJob extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** job主键 */
    @Excel(name = "job主键")
    private String jobId;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 文字内容，最大可存储6.5万字 */
    @Excel(name = "文字内容，最大可存储6.5万字")
    private String content;

    /** 状态（0提交任务，1表示执行成功，-1表示NLP失败，-2表示TTS失败， -3表示合成失败, -4表示读取文本异常,-5表示合成服务忙任务还未提交） */
    @Excel(name = "状态", readConverterExp = "0=提交任务，1表示执行成功，-1表示NLP失败，-2表示TTS失败，,-=3表示合成失败,,-=4表示读取文本异常,-5表示合成服务忙任务还未提交")
    private String isSuccess;

    /** job结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "job结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /** 正文分句数量 */
    @Excel(name = "正文分句数量")
    private String sentenceSize;

    /** 正文段落 */
    @Excel(name = "正文段落")
    private String sectionSize;

    /** 缓存中间结果 */
    @Excel(name = "缓存中间结果")
    private String backupText;

    /** 备用字段1 */
    @Excel(name = "备用字段1")
    private String backup1;

    /** 备用字段2 */
    @Excel(name = "备用字段2")
    private String backup2;

    /** zip主键 */
    @Excel(name = "zip主键")
    private String zipId;

    /** tts类型 */
    @Excel(name = "tts类型")
    private String ttsType;

    /** tts速度 */
    @Excel(name = "tts速度")
    private Integer ttsRate;

    /** tts讲述人 */
    @Excel(name = "tts讲述人")
    private String ttsSpeaker;

    /** tts的语言 */
    @Excel(name = "tts的语言")
    private String ttsLanguage;

    /** tts消耗总时间 */
    @Excel(name = "tts消耗总时间")
    private Integer ttsTime;

    /** 文本长度 */
    @Excel(name = "文本长度")
    private Integer contentSize;

    /** 任务重试次数 */
    @Excel(name = "任务重试次数")
    private Integer retrySize;

    /** 备用字段3 */
    @Excel(name = "备用字段3")
    private String backup3;

    /** 备用字段4 */
    @Excel(name = "备用字段4")
    private String backup4;

    /** 备用字段5 */
    @Excel(name = "备用字段5")
    private String backup5;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setJobId(String jobId)
    {
        this.jobId = jobId;
    }

    public String getJobId()
    {
        return jobId;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setIsSuccess(String isSuccess)
    {
        this.isSuccess = isSuccess;
    }

    public String getIsSuccess()
    {
        return isSuccess;
    }
    public void setEndTime(Date endTime)
    {
        this.endTime = endTime;
    }

    public Date getEndTime()
    {
        return endTime;
    }
    public void setSentenceSize(String sentenceSize)
    {
        this.sentenceSize = sentenceSize;
    }

    public String getSentenceSize()
    {
        return sentenceSize;
    }
    public void setSectionSize(String sectionSize)
    {
        this.sectionSize = sectionSize;
    }

    public String getSectionSize()
    {
        return sectionSize;
    }
    public void setBackupText(String backupText)
    {
        this.backupText = backupText;
    }

    public String getBackupText()
    {
        return backupText;
    }
    public void setBackup1(String backup1)
    {
        this.backup1 = backup1;
    }

    public String getBackup1()
    {
        return backup1;
    }
    public void setBackup2(String backup2)
    {
        this.backup2 = backup2;
    }

    public String getBackup2()
    {
        return backup2;
    }
    public void setZipId(String zipId)
    {
        this.zipId = zipId;
    }

    public String getZipId()
    {
        return zipId;
    }
    public void setTtsType(String ttsType)
    {
        this.ttsType = ttsType;
    }

    public String getTtsType()
    {
        return ttsType;
    }
    public void setTtsRate(Integer ttsRate)
    {
        this.ttsRate = ttsRate;
    }

    public Integer getTtsRate()
    {
        return ttsRate;
    }
    public void setTtsSpeaker(String ttsSpeaker)
    {
        this.ttsSpeaker = ttsSpeaker;
    }

    public String getTtsSpeaker()
    {
        return ttsSpeaker;
    }
    public void setTtsLanguage(String ttsLanguage)
    {
        this.ttsLanguage = ttsLanguage;
    }

    public String getTtsLanguage()
    {
        return ttsLanguage;
    }
    public void setTtsTime(Integer ttsTime)
    {
        this.ttsTime = ttsTime;
    }

    public Integer getTtsTime()
    {
        return ttsTime;
    }
    public void setContentSize(Integer contentSize)
    {
        this.contentSize = contentSize;
    }

    public Integer getContentSize()
    {
        return contentSize;
    }
    public void setRetrySize(Integer retrySize)
    {
        this.retrySize = retrySize;
    }

    public Integer getRetrySize()
    {
        return retrySize;
    }
    public void setBackup3(String backup3)
    {
        this.backup3 = backup3;
    }

    public String getBackup3()
    {
        return backup3;
    }
    public void setBackup4(String backup4)
    {
        this.backup4 = backup4;
    }

    public String getBackup4()
    {
        return backup4;
    }
    public void setBackup5(String backup5)
    {
        this.backup5 = backup5;
    }

    public String getBackup5()
    {
        return backup5;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("jobId", getJobId())
                .append("title", getTitle())
                .append("content", getContent())
                .append("isSuccess", getIsSuccess())
                .append("endTime", getEndTime())
                .append("sentenceSize", getSentenceSize())
                .append("sectionSize", getSectionSize())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("backupText", getBackupText())
                .append("backup1", getBackup1())
                .append("backup2", getBackup2())
                .append("zipId", getZipId())
                .append("ttsType", getTtsType())
                .append("ttsRate", getTtsRate())
                .append("ttsSpeaker", getTtsSpeaker())
                .append("ttsLanguage", getTtsLanguage())
                .append("ttsTime", getTtsTime())
                .append("contentSize", getContentSize())
                .append("retrySize", getRetrySize())
                .append("backup3", getBackup3())
                .append("backup4", getBackup4())
                .append("backup5", getBackup5())
                .toString();
    }
}